/**
 * 
 */
package com.fpt.edu.vn.h2tv.dto;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author niteha
 * 
 */
@XmlRootElement
public class Cart {

	private List<CartItem> cartItemList;
	private double totalPrice;
	private Orders order;

	public Orders getOrder() {
		return order;
	}

	public void setOrder(Orders order) {
		this.order = order;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	@XmlElement(name = "total_price")
	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public List<CartItem> getCartItemList() {
		return cartItemList;
	}

	@XmlElement(name = "cart_item")
	public void setCartItemList(List<CartItem> cartItemList) {
		this.cartItemList = cartItemList;
	}
}
